Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

object_store: Add enabled-by-default "fs" feature #6636

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Turbo87
Copy link
Contributor

@Turbo87 Turbo87 commented Oct 28, 2024

Which issue does this PR close?

Closes #6055.

Rationale for this change

see #6055 😉

What changes are included in this PR?

This PR introduces a new fs feature for the object_store crate, which is enabled by default. If disabled, the local module is excluded from the crate and the walkdir dependency is skipped.

Are there any user-facing changes?

Only for users of default-features = false, but since this crate did not have any default features before there probably won't be many object_store users that specify default-features = false.

@github-actions github-actions bot added the object-store Object Store Interface label Oct 28, 2024
@Turbo87
Copy link
Contributor Author

Turbo87 commented Oct 29, 2024

/cc @tustvold

@tustvold tustvold added api-change Changes to the arrow API next-major-release the PR has API changes and it waiting on the next major version labels Oct 30, 2024
@tustvold
Copy link
Contributor

tustvold commented Oct 30, 2024

I had a quick look and this looks plausible, however, it is a breaking change and will therefore need to wait for the next major release

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me. Thank you @Turbo87

Could you also please add a test for clippy here:

- name: Run clippy with default features

Specifically these two combinations?

  1. --no-deafult-features
  2. --no-default-features --features fs ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-change Changes to the arrow API next-major-release the PR has API changes and it waiting on the next major version object-store Object Store Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make LocalFileSystem an Optional Feature
3 participants